package com.genius.unite_platform.device.service;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface DeviceService {

	JSONObject getSelectHead(JSONObject json, HttpSession session, JSONObject response);

	JSONObject getSelectBody(JSONObject json, JSONObject response);

	JSONObject add(JSONObject json, JSONObject response, HttpSession session);

	JSONObject edit(JSONObject json, JSONObject response, HttpSession session);

	JSONObject batchdel(JSONObject json, JSONObject response);

	JSONObject exportExcel(HttpServletRequest request, HttpServletResponse responseServlet, JSONObject response);

	JSONObject fillAdd(JSONObject json, JSONObject response);

	JSONObject fillEdit(JSONObject json, JSONObject response);
	
	JSONArray getDeviceModelList(String deviceno);
	
}



